<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="http://www.petercorke.com/RVC/common/toolboxhelp.css">
    <title>M-File Help: ssd</title>
  </head>
  <body>
  <table border="0" cellspacing="0" width="100%">
    <tr class="subheader">
      <td class="headertitle">M-File Help: ssd</td>
      <td class="subheader-left"><a href="matlab:open ssd">View code for ssd</a></td>
    </tr>
  </table>
<h1>ssd</h1><p><span class="helptopic">Sum of squared differences</span></p><strong>m</strong> = <span style="color:red>ssd</span>(<strong>i1</strong>, <strong>i2</strong>) is the sum of squared differences between the
two equally sized image patches <strong>i1</strong> and <strong>i2</strong>.  The result <strong>m</strong> is a scalar that
indicates image similarity, a value of 0 indicates identical pixel patterns
and is increasingly positive as image dissimilarity increases.

<h2>See also</h2>
<p>
<a href="matlab:doc zsdd">zsdd</a>, <a href="matlab:doc sad">sad</a>, <a href="matlab:doc ncc">ncc</a>, <a href="matlab:doc isimilarity">isimilarity</a></p>
<hr>

<table border="0" width="100%" cellpadding="0" cellspacing="0">
  <tr class="subheader" valign="top"><td>&nbsp;</td></tr></table>
<p class="copy">&copy; 1990-2011 Peter Corke.</p>
</body></html>